import Vue from 'vue'
import App from './App'
import './common/index.scss'
import {customToast,showModal} from '@/utils/tips'
import { replaceLastStr } from '@/utils/index'
import storage from '@/utils/storage'

Vue.config.productionTip = false

Vue.prototype.$toast = customToast
Vue.prototype.$showModal = showModal
Vue.prototype.$storage = storage
Vue.prototype.$replaceLastStr = replaceLastStr
App.mpType = 'app'

const app = new Vue({
    ...App
})
app.$mount()
